package org.zhadoop.stream.cql.semanticanalyzer.parser.visitor;

import org.antlr.v4.runtime.misc.NotNull;
import org.zhadoop.stream.cql.semanticanalyzer.parser.CQLParser.BitExpressionContext;
import org.zhadoop.stream.cql.semanticanalyzer.parser.context.ExpressionBetweenMinValueContext;

/**
 * between 表达式遍历
 * @author zwd
 *
 */
public class ExpressionBetweenMinValueVisitor extends AbsCQLParserBaseVisitor<ExpressionBetweenMinValueContext>{

	private ExpressionBetweenMinValueContext context = null;
	
	public ExpressionBetweenMinValueVisitor() {
		context = new ExpressionBetweenMinValueContext();
	}
	
	@Override
	protected ExpressionBetweenMinValueContext defaultResult() {
		return context;
	}
	
	@Override
	public ExpressionBetweenMinValueContext visitBitExpression(@NotNull BitExpressionContext ctx) {
		BitExpressionVisitor visitor = new BitExpressionVisitor();
        context.setExpression(visitor.visit(ctx));
        return context;
	}

}
